package until;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Date;

public class test {
    public static void main(String[] args) {
        int [] a={1,3,4,5,7,8,4,3,2};
        int[] arr=Arrays.copyOf(a,3);
        for (int i = 0; i <3; i++) {
            System.out.println(arr[i]);


        }
//        System.out.println(new Date()); // Tue Jan 16 14:37:35 CST 2018
//        // 创建日期对象，把当前的毫秒值转成日期对象
//        System.out.println(new Date(0L)); // Thu Jan 01 08:00:00 CST 1970
     

    }
}
